package com.example.literj.kt.operators

interface SimpleQueue<T> {
    fun offer(e: T?): Boolean

    fun offer(first: T, second: T): Boolean

    @Throws(Throwable::class)
    fun poll(): T?

    fun isEmpty(): Boolean

    fun clear()
}